/**
 * 
 */
package jvs.peer.xmpp;

/**
 * @author qiangli
 *
 */
public class Info implements Comparable<Info> {
	public boolean isFile;
	public boolean isDirectory;
	public boolean canRead;
	public boolean canWrite;
	public boolean canExecute;
	public int length;
	public long lastModified;
	public String path;
	public String name;

	public Info() {
	}
	
	public int compareTo(Info i) {
		if (i == null) {
			return 1;
		}
		return path.compareTo(i.path);
	}
}
